<html>
<head>
    <meta charset="UTF-8">
    <title>2048</title>
    <link rel="stylesheet" href="css/2048.css">
</head>
<body>
    <div class="header">
        得分：<span id="score_01">0</span>
    </div>
<!-- 4*4 -->
    <div class="cell_all">
        <!-- 用id获取div，用class处理div -->
        <div class="cell" id="c00"></div>
        <div class="cell" id="c01"></div>
        <div class="cell" id="c02"></div>
        <div class="cell" id="c03"></div>

        <div class="cell" id="c10"></div>
        <div class="cell" id="c11"></div>
        <div class="cell" id="c12"></div>
        <div class="cell" id="c13"></div>

        <div class="cell" id="c20"></div>
        <div class="cell" id="c21"></div>
        <div class="cell" id="c22"></div>
        <div class="cell" id="c23"></div>

        <div class="cell" id="c30"></div>
        <div class="cell" id="c31"></div>
        <div class="cell" id="c32"></div>
        <div class="cell" id="c33"></div>

        <!-- game over -->
        <div class="gameover" id="gameover">
            <p class="gameover_p">
                游戏结束 <br>
                得分: <span id="score_02">0</span><br>
                <a href="javascript:game.start()">再来！</a>
            </p>
        </div>
    </div>
    <script src="js/2048.js"></script>
</body>    
</html>